package com.woniu.secondhand.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Title
 * @Author 武术有栖
 * @Description:
 */
@Data
@ApiModel(value = "CategoryVO对象", description = "分类信息首页查询的VO对象")
public class CategoryIndexVO {
    @ApiModelProperty("分类ID")
    private Integer id;
    @ApiModelProperty("分类父ID")
    private Integer parentId;
    @ApiModelProperty("分类名称")
    private String title;
    @ApiModelProperty("分类图标")
    private String pic;
    @ApiModelProperty("子分类集合")
    private List<CategoryIndexVO> children;
}
